package org.gardenXml.auto;

import org.gardenXml.auto.controller.UserController;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestUser {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("beanAuto.xml");
        UserController userController = context.getBean("userController",UserController.class);
        userController.addUser();
    }
}
